package com.woniu.service;

import com.woniu.entity.RbacPerm;
import com.woniu.entity.ResponseEntity;

import java.util.Set;

/**
* @author Rain
* @Description :
* @date 2022/09/03 10:25
*/public interface RbacPermService {
    ResponseEntity findAll(int pageNum, int pageSize);

    ResponseEntity findOne(int id);

    ResponseEntity addOne(RbacPerm perm);

    ResponseEntity deleteOne(int id);

    ResponseEntity updateOne(RbacPerm perm);

    ResponseEntity findByCondition(int pageNum, int pageSize, RbacPerm searchObj);

    Set<String> findPermBySetRoles(String username);

    ResponseEntity updatePermStatus(Integer id, String status);
}
